package cn.daniellee.plugin.rs.menu;

import cn.daniellee.plugin.rs.RestrictedShop;
import cn.daniellee.plugin.rs.component.ItemGenerator;
import org.bukkit.inventory.ItemStack;

class Common {

	public static ItemStack getCorner() {
		return ItemGenerator.getItem(" ", null, RestrictedShop.getInstance().getConfig().getString("menu.common.corner.material", "MAGENTA_STAINED_GLASS_PANE"),  RestrictedShop.getInstance().getConfig().getInt("menu.common.corner.custom-model-data", 0), 1);
	}

	public static ItemStack getBorder() {
		return ItemGenerator.getItem(" ", null, RestrictedShop.getInstance().getConfig().getString("menu.common.border.material", "BLUE_STAINED_GLASS_PANE"),  RestrictedShop.getInstance().getConfig().getInt("menu.common.border.custom-model-data", 0), 1);
	}

}
